package org.springblade.modules.platform.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class LineChartVO {

    @ApiModelProperty(value = "折线图类型")
    private List<LineChartTeadVO> lineChartTeadVOS;


    @NoArgsConstructor
    @Data
    public static class LineChartTeadVO {


        /**
         * 设备名称
         */
        @ApiModelProperty(value = "设备名称")
        private String equipmentName;


        /**
         * 物理名称
         */
        @ApiModelProperty(value = "物理名称")
        private String physicalName;

        /**
         * 物理名称key
         */
        @ApiModelProperty(value = "物理名称key")
        private String physicalKey;


        @ApiModelProperty(value = "折线图数据")
        private List<LineChartDataVO> lineChartDataVOS;
    }

    @NoArgsConstructor
    @Data
    public static class LineChartDataVO {
        /**
         * 物理名称
         */
        @ApiModelProperty(value = "时间")
        private String dataTime;

        /**
         * 物理名称key
         */
        @ApiModelProperty(value = "值")
        private String dataValue;
    }
}
